import java.util.Scanner;

public class code {
        public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        while(scan.hasNextInt())
        int num = 0;
            num = scan.nextInt();
        for (int i = 1; i <= num; i++){
            for(int j = 1 ; j <= num; j++){

                if(i == j)
                    System.out.print("*");
                else if(j == num-i+1)
                    System.out.print("*");
                else
                    System.out.print(" ");
            }
            System.out.println();
        }

    }
}
